package com.ufgov.agcfs.report.entity;

import java.io.Serializable;
import java.math.BigDecimal;


public class Report implements Serializable {
	private static final long serialVersionUID = 1L;

	private String id;

	private String nd;
	
	private String reportCode;

	private String reportName;
	
	private String reportType;
	
	private String reportTypeName;
	
	private String forDwTypes;

	private BigDecimal areaCount;

	private String dispType;

	private BigDecimal sequNo;

	public Report() {
	}

	public String getForDwTypes() {
		return this.forDwTypes;
	}

	public void setForDwTypes(String forDwTypes) {
		this.forDwTypes = forDwTypes;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigDecimal getAreaCount() {
		return this.areaCount;
	}

	public void setAreaCount(BigDecimal areaCount) {
		this.areaCount = areaCount;
	}

	public String getReportName() {
		return this.reportName;
	}

	public void setReportName(String reportName) {
		this.reportName = reportName;
	}

	public String getDispType() {
		return this.dispType;
	}

	public void setDispType(String dispType) {
		this.dispType = dispType;
	}

	public BigDecimal getSequNo() {
		return this.sequNo;
	}

	public void setSequNo(BigDecimal seqNo) {
		this.sequNo = seqNo;
	}

	public String getReportCode() {
		return this.reportCode;
	}
	public void setReportCode(String reportCode) {
		this.reportCode = reportCode;
	}
	public String getNd() {
		return this.nd;
	}
	public void setNd(String nd) {
		this.nd = nd;
	}

	public boolean equals(Object other) {
		if (this == other) {
			return true;
		}
		Report castOther = (Report)other;
		return 
			this.reportCode.equals(castOther.reportCode)
			&& this.nd.equals(castOther.nd)
			&&this.id.equals(castOther.getId());
	}

	public int hashCode() {
		final int prime = 31;
		int hash = 17;
		hash = hash * prime + this.reportCode.hashCode();
		hash = hash * prime + this.nd.hashCode();
		hash = hash * prime + this.id.hashCode();
		
		return hash;
	}

	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}

	public String getReportTypeName() {
		return reportTypeName;
	}

	public void setReportTypeName(String reportTypeName) {
		this.reportTypeName = reportTypeName;
	}
}